package com.jiuqian.demo.service;

import java.util.List;

import com.jiuqian.common.core.base.BaseService;
import com.jiuqian.demo.model.Area;

public interface AreaService extends BaseService<Area> {

	public List<Area> finByParentId(Integer parentId);

	public List<Area> findByParentIdAndLevel(Integer parentId, Short level);

	public List<Area> findByLevel(Short level);

	public List<Area> findProvinces();

	public List<Area> findCityByProvinceId(Integer provinceId);

	public List<Area> findRegionByCityId(Integer cityId);

	public List<Area> findStreetByRegionId(Integer regionId);
}